package com.chankudo.demo2;

import org.springframework.beans.factory.FactoryBean;

public class Demo2FactoryBean implements FactoryBean{

    @Override
    public Object getObject() throws Exception {
        return new Demo2Product();
    }

    @Override
    public Class getObjectType() {
        return Demo2Product.class;
    }

    @Override
    public boolean isSingleton() {
        return false;
    }
    
}
